package com.hzw.saas.api.product.dto;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 购买订单详情，包含支付信息
 *
 * @author zzl
 * @since 01/27/2021
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "购买订单详情", description = "购买订单详情")
public class ItemOrderInfoDto implements Serializable {

    private static final long serialVersionUID = -4908043133146294265L;

    @ApiModelProperty(value = "订单信息,根据支付模式获取支付信息", position = 1)
    private ItemOrderDto order;

    @ApiModelProperty(value = "线上支付信息", position = 2)
    private PaymentOnlineDto paymentOnline;

    @ApiModelProperty(value = "线下支付信息", position = 3)
    private PaymentOfflineDto paymentOffline;
}
